<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/index.css" />
		<title></title>
		<script src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="${pageContext.request.contextPath}/js/index.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div class="wrap">
			<div class="header after">
				<!--<img class="ht" src="img/title.png"/>-->
				
				<p class="ht" id="actname">欢乐砸金蛋欢乐砸金蛋</p>
				<img class="hl" src="${pageContext.request.contextPath}/img/left.png"/>
				<img class="hr" src="${pageContext.request.contextPath}/img/right.png"/>
			</div>
			<div class="egg">
				<div class="eggunit">
					<img src="${pageContext.request.contextPath}/img/bright.png"/>
					<img src="${pageContext.request.contextPath}/img/srp.png"/>
					<img src="${pageContext.request.contextPath}/img/egg.png"/>
				</div>
				<div class="eggunit">
					<img src="${pageContext.request.contextPath}/img/bright.png"/>
					<img src="${pageContext.request.contextPath}/img/srp.png"/>
					<img src="${pageContext.request.contextPath}/img/egg.png"/>
				</div>
				<div class="eggunit">
					<img src="${pageContext.request.contextPath}/img/bright.png"/>
					<img src="${pageContext.request.contextPath}/img/srp.png"/>
					<img src="${pageContext.request.contextPath}/img/egg.png"/>
				</div>
			</div>
			<div class="footer">
				<img src="${pageContext.request.contextPath}/img/footer.png"/>
			</div>
		</div>
		
		<!--提示-->
		<div id="tips" class="model">
			<div class="window">
				<div class="wcontent">
					<div class="wmian">
						<div class="rp">
							<span><i>${money }</i></span>
							<span>红包已发送，返回公众号即可领取</span>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--提示-->
		<!--等待-->
		<div id="wait" class="model">
			<div class="window">
				<div class="wcontent">
					<div class="wmian">
						<p class="wp">红包发送中...</p>
					</div>
				</div>
			</div>
		</div>
		<!--等待-->
		<!--失败-->
		<div id="fail" class="model">
			<div class="window">
				<div class="wcontent">
					<div class="wmian">
						<div class="rp">
							<span></span>
							<span></span>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--失败-->
	</body>
	<script type="text/javascript">
	$(function(){
	var actname="${actname}";
	var des="${des}";
	if(actname!=""&& actname!="null"){
		$("#actname").text(actname);
	}
	if(des!=""){
		$('#fail .rp span:last-child').html(des);
		$('#fail').fadeIn();
	}
	})
	
	
	</script>
</html>